package com.soulmate.user.mapper;

import common.pojo.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface UserMapper {
    Integer checkUserName(@Param("userName") String userName);

    void addUserName(User user);

    User login(User user);
}
